﻿using mozhi.smarterp.Finance.Enums;
using mozhi.smarterp.Finance.Querys;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace mozhi.smarterp.Finance.Accounts
{
    public interface IAccountAppService : IApplicationService
    {
        Task<List<AccountDto>> GetListAsync(AccountQuery query);

        Task<AccountDto> CreateAsync(AccountCreateDto dto);

        Task<AccountDto> UpdateAsync(AccountUpdateDto dto);

        Task<AccountDto> GetAsync(Guid id);

        Task DeleteAsync(Guid id);

        Task LoadDefaultAccountAsync(AccountingStandardType accountingStandard);
    }
}
